package com.artieksi.action;

import com.artieksi.entity.SignBean;

/**
 * User: TTACANSEVER
 */
public class UserSearchAction extends BaseAction {

    private SignBean searchResult;
    private String username;
    private String sign;
    private String interval;

    public String execute(){
        try {
            searchResult = artiEksiDAO.searchUser(username, sign, interval);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return SUCCESS;
    }

    public SignBean getSearchResult() {
        return searchResult;
    }

    public void setSearchResult(SignBean searchResult) {
        this.searchResult = searchResult;
    }

    public String getInterval() {
        return interval;
    }

    public void setInterval(String interval) {
        this.interval = interval;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}
